package com.huadao.cart_ccs.data.bo;

public class RawMessage {
    private String date;
    private String message;

    public RawMessage() {
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }


    public String getShowLogMessage(){
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append("[");
        stringBuilder.append(getDate());
        stringBuilder.append("]");
        stringBuilder.append("  ");
        stringBuilder.append(getMessage());
        stringBuilder.append("\n");
        return stringBuilder.toString();
    }


    public RawMessage(String date, String message) {
        this.date = date;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
